package com.ql.gamelogm.entities;

import java.util.Date;

public class WarnLog {
    private int id;
    private String state;
    private String deg;
    private String descr;
    private String gamername;
    private double avgrecovery;
    private double avgresponse;
    private String solveperson;
    private Date date;
    private Date dateres;

    public WarnLog() {
    }

    public WarnLog(int id, String state, String deg, String descr, String gamername, double avgrecovery, double avgresponse, String solveperson, Date date, Date dateres) {
        this.id = id;
        this.state = state;
        this.deg = deg;
        this.descr = descr;
        this.gamername = gamername;
        this.avgrecovery = avgrecovery;
        this.avgresponse = avgresponse;
        this.solveperson = solveperson;
        this.date = date;
        this.dateres = dateres;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getDeg() {
        return deg;
    }

    public void setDeg(String deg) {
        this.deg = deg;
    }

    public String getDescr() {
        return descr;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public String getGamername() {
        return gamername;
    }

    public void setGamername(String gamername) {
        this.gamername = gamername;
    }

    public double getAvgrecovery() {
        return avgrecovery;
    }

    public void setAvgrecovery(double avgrecovery) {
        this.avgrecovery = avgrecovery;
    }

    public double getAvgresponse() {
        return avgresponse;
    }

    public void setAvgresponse(double avgresponse) {
        this.avgresponse = avgresponse;
    }

    public String getSolveperson() {
        return solveperson;
    }

    public void setSolveperson(String solveperson) {
        this.solveperson = solveperson;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Date getDateres() {
        return dateres;
    }

    public void setDateres(Date dateres) {
        this.dateres = dateres;
    }

    @Override
    public String toString() {
        return "WarnLog{" +
                "id=" + id +
                ", state='" + state + '\'' +
                ", deg='" + deg + '\'' +
                ", descr='" + descr + '\'' +
                ", gamername='" + gamername + '\'' +
                ", avgrecovery=" + avgrecovery +
                ", avgresponse=" + avgresponse +
                ", solveperson='" + solveperson + '\'' +
                ", date=" + date +
                ", dateres=" + dateres +
                '}';
    }
}
